package example.string;

/**
 * Created by lenovo on 2016/11/4 0004.
 *  String toUpperCase() 方法将字符串从小写转为大写
 */
public class UpperCase {
    public static void main(String[] args){
        String str = "string abc to uppercase";
        String strUpper = str.toUpperCase();
        System.out.println("Before to Uppercase str :" + str);
        System.out.println("After to Uppercase str : "+ strUpper);
    }
}
